home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Georgia Wildfire Prevention
/
Georgia Wildfire Prevention.iso
/
pc
/
media
/
dirs
/
BackUp
/
WorkCenter.dir
/
00024_Script_MovieAction
< prev
next >
Wrap
Text File
|
2002-10-11
|
690b
|
27 lines
--Attach this behavior to a movie to receive commands from control buttons.
property SpNum
on new me
SpNum = me.spritenum
end
--MouseDown Controls
on MovieActionDown me, MovieControl
case MovieControl of
"Play" : sprite(SpNum).movierate = 1
"Pause" : sprite(SpNum).movierate = 0
"Stop" : sprite(SpNum).movietime = 0
sprite(SpNum).movierate = 0
"Rewind" : sprite(SpNum).movierate = -2
"Fast Forward" : sprite(SpNum).movierate = 2
end case
end
--MouseUp Controls
on MovieActionUp me, MovieControl
case (MovieControl) of
"Rewind" : sprite(SpNum).movierate = 1
"Fast Forward" : sprite(SpNum).movierate = 1
end case
end